package com.m8n6.demo2.service.admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.m8n6.demo2.common.http.ResponseResult;
import com.m8n6.demo2.entity.GoodsEntity;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

public interface GoodsService extends IService<GoodsEntity> {
    ResponseResult<Map<String,Object>> getGoods(GoodsEntity goodsEntity);

    ResponseResult<List<GoodsEntity>> getAdvGoods();

    ResponseResult<List<GoodsEntity>> getGoodsIndex(GoodsEntity goodsEntity);

    ResponseResult<Map<String,String>> addGoods(GoodsEntity GoodsEntity);
    ResponseResult<Map<String, String>> deleteGoods(GoodsEntity goodsEntity);
    ResponseResult<Map<String, Object>> iPageMyFocusGoods(GoodsEntity goodsEntity);
}
